PM3.6 - Diddy Kong - Action - 0x125
Entry Script
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- CreateInterrupt { interrupt_id: None, action: 0x127, requirement: (ButtonNotPressed value(1)) }
- CreateInterrupt { interrupt_id: None, action: 0x127, requirement: ((InternalConstantInt(CurrentFrame) GreaterThan scalar(45))) }
- if (OnGround)
- ChangeSubactionRestartFrame(SpecialHiCharge)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- BoolVariableSetFalse { variable: RandomAccessBool (0x11) }
- else
- ChangeSubactionRestartFrame(SpecialAirHiCharge)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(Unknown(2))
- if (BoolIsTrue RandomAccessBool (0x11))
- ChangeSubaction(SpecialHiCharge)
- BoolVariableSetFalse { variable: RandomAccessBool (0x11) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- if (not(BoolIsTrue RandomAccessBool (0x11)))
- ChangeSubaction(SpecialAirHiCharge)
- BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script
- Armor { armor_type: None, tolerance: 0.0 }